package com.gwgreenway.dao;

import com.gwgreenway.domain.User;
import com.gwgreenway.domain.UserQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * 
 * Copyright: Copyright (c) 2018 863263957@qq.com
 * 
 * @ClassName: UserDao.java
 * @Description: mybatis持久化
 * @author: niugang
 * @date: 2018年9月14日 下午3:19:00
 */
@Mapper
public interface UserDao {
	List<User> queryListByPage(UserQuery user);

	User get(Integer id);

	void save(User user);

	void delete(Integer id);
	
	int queryCount(UserQuery user);

}
